<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/assets/H-ui/static/h-ui/css/H-ui.min.css" />
        <%--引起冲突的样式--%>
    <%--<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/table.css"/>--%>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/assets/H-ui/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/assets/H-ui/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/assets/H-ui/static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/bootstrap.css"/>
    <!--_footer 作为公共模版分离出去-->
        <script src="${pageContext.request.contextPath}/assets/js/jquery.min.js"></script>
        <script src="${pageContext.request.contextPath}/assets/js/bootstrap.min.js"></script>
        <!--/_footer /作为公共模版分离出去-->
    <title>报告列表管理 -  </title>
</head>
<body>

<%--<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>--%>
<!--/_menu 作为公共模版分离出去-->
<section class="Hui-article-box" style="margin: 100px 30px">
    <div class="Hui-article">
        <article class="cl pd-20">
            <div class="text-c">
                <input type="text" class="input-text" style="width:250px"  id="cardNumber" name="cardNumber">
                <button type="button" onclick="check()" class="btn btn-success radius"><i class="Hui-iconfont">&#xe665;</i>请输入卡号</button>
            </div>
        </article>
    </div>
</section>
<script type="text/javascript">
    function check() {
         var cardNumber=$("#cardNumber").val();
         $.post("${pageContext.request.contextPath}/report/checkCard.action",
             {"cardNumber":cardNumber},
         function (date) {
             if(date==true){
                 location.href="${pageContext.request.contextPath}/report/reportList.action";
             }else if(date==false){
                 alert("请重新输入卡号：该卡号用户不存在");
             }
         })
    }
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>